<?php
/*
公共变量 redis 存放
*/

namespace App\Http\Controllers;

use Illuminate\Routing\Controller as BaseController;

class PCHController extends BaseController
{

    public static  $NotEnoughScore      = -10001; #次元币不足 弹窗
    public static  $VersionOld          = -10002; #版本提示   弹窗


    public static $AppSettingPushCode   = 725;

    public static function getUserTokenByUserId(int $uid) : string
    {
       return 'UserTokenString::'.$uid;
    }

    #用户信息 根据uid
    public static function getUserInfoKeyByUid(int $uid):string
    {
        return 'UserByIdHash::'.$uid;
    }

    #系统设置
    public static function getAllSystemSettingString()
    {
        return 'AllSystemSettingString';
    }




}
